package com.yehuishou.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yehuishou.dao.DescTestDao;
import com.yehuishou.pojo.DescTest;
import com.yehuishou.service.DescTestService;
@Service
public class DescTestServiceImpl implements DescTestService{

	@Autowired
	private DescTestDao dtDao;
	
	@Override
	public void save(DescTest descTest) {
		dtDao.save(descTest);
	}

	@Override
	public List<DescTest> findAll(DescTest dt) {
		// TODO Auto-generated method stub
		return dtDao.findAll(dt);
	}

	@Override
	public void del(Integer id) {
		dtDao.del(id);
	}

	@Override
	public DescTest findById(Integer id) {
		// TODO Auto-generated method stub
		return dtDao.findById(id);
	}

	@Override
	public void update(DescTest dt) {
		dtDao.update(dt);
	}

}
